import request from '@/utils/request'

// 自己写的login
export function myLogin(data) {
  return request({
    url: '/user/login',
    method: 'post',
    data
  })
}
export function getInfo(params) {
  return request({
    url: '/user/getUser',
    method: 'get',
    params
  })
}
